package org.jeecg.modules.charge.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.entity.charge.ChargeFeeRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 收费规则
 * @Author: jeecg-boot
 * @Date:   2021-06-24
 * @Version: V1.0
 */
public interface IChargeFeeRuleService extends IService<ChargeFeeRule> {

    List<ChargeFeeRule> findPage(Page<ChargeFeeRule> page, ChargeFeeRule chargeFeeRule);

    Integer getFeeRoomRule(String id);

    List<ChargeFeeRule> getByFeeId(String feeId);

    List<ChargeFeeRule> queryByProjectId(String projectId);

    ChargeFeeRule getByFeeIdAndRoomId(String feeId, String roomId);
}
